package com.ad.payload.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
public class PfAdvertisementVo {
    /**
     * 主键id
     * */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    /**
     * 商家名称
     * */
    private String merchantName;

    /**
     * 广告图片
     * */
    private String adImage;

    /**
     * 广告跳转路径
     * */
    private String adForwardUrl;

    @JsonFormat( pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime adEffectiveDate;
    @JsonFormat( pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime adExpireDate;


    private String createUserName;

    private String createUserId;


    private Date createTime;

    private String updateUserName;

    private String updateUserId;


    private Date updateTime;

}
